home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / dos / networks / tpapi / nwprint.pa1 < prev    next >
Text File  |  1992-03-02  |  4KB  |  101 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2.  
  3.  
  4. {***************************************************************************}
  5. {** Program : NWPRINT                                                     **}
  6. {***************************************************************************}
  7. {** Version : 1.3             ** Started : 11/11/91  ** Ended :   /  /    **}
  8. {***************************************************************************}
  9. {******************************** Description ******************************}
  10. {***************************************************************************}
  11. {** OOP library for Netware API                                           **}
  12. {**                                                                       **}
  13. {** This unit forms the second level object : PRINT                       **}
  14. {** This object is a descandent of          : NETWARE                     **}
  15. {**                                                                       **}
  16. {**                                                                       **}
  17. {**                                                                       **}
  18. {**                                                                       **}
  19. {***************************************************************************}
  20. {******************************** Information ******************************}
  21. {***************************************************************************}
  22. {** Provides Netware Printint Services                                    **}
  23. {**                                                                       **}
  24. {**                                                                       **}
  25. {**                                                                       **}
  26. {** This code is (c) 1991,1992  Tony Covelli                              **}
  27. {** Portions (c) Novell Inc,                                              **}
  28. {**                                                                       **}
  29. {**                                                                       **}
  30. {***************************************************************************}
  31.  
  32. {$I NETWARE.INC}
  33.  
  34. UNIT NWPRINT;
  35.  
  36. INTERFACE
  37.  
  38. USES
  39.  
  40.   netware, nwvar;
  41.  
  42. TYPE
  43.  
  44.   pPrintOBJ = ^PrintOBJ;
  45.   PrintOBJ  = object (NetwareOBJ)
  46.  
  47.     CONSTRUCTOR Init;
  48.  
  49.     FUNCTION    CancelLPTCapture : WORD;
  50.  
  51.     FUNCTION    CancelSpecificLPTCapture (LPTDevice : BYTE) : WORD;
  52.  
  53.     FUNCTION    ENDLPTCapture : WORD;
  54.  
  55.     FUNCTION    ENDSpecificLPTCapture    (LPTDevice : BYTE) : WORD;
  56.  
  57.     FUNCTION    FlushLPTCapture : WORD;
  58.  
  59.     FUNCTION    FlushSpecificLPTCapture  (LPTDevice : BYTE) : WORD;
  60.  
  61.     FUNCTION    GetBannerUserName        (VAR BannerUserName : BannerUserNameType) : WORD;
  62.  
  63.     FUNCTION    GetDefaultCaptureFlags   (VAR CaptureFlags : Capture_Flags) : WORD;
  64.  
  65.     FUNCTION    GetDefaultLocalPrinter : WORD;
  66.  
  67.     FUNCTION    GetLPTCaptureStatus      (VAR LPTServerNumber : WORD) : WORD;
  68.  
  69.     FUNCTION    GetPrinterQueue          (PrinterNumber : BYTE; VAR QueueID : OT_BinderyID) : WORD;
  70.  
  71.     FUNCTION    GetPrinterStatus         (PrinterNumber : BYTE; VAR PrinterHalted, PrinterOffLine, FormType,
  72.                                           TargetPrinter : BYTE) : WORD;
  73.  
  74.     FUNCTION    GetSpecificCaptureFlags  (LPTDevice : BYTE; VAR CaptureFlags : Capture_Flags) : WORD;
  75.  
  76.     FUNCTION    SetBannerUserName        (BannerUserName : BannerUserNameType) : WORD;
  77.  
  78.     FUNCTION    SetCapturePrintJob       (LPTDevice : BYTE; JobNumber : WORD; VAR JobFileHandle) : WORD;
  79.  
  80.     FUNCTION    SetCapturePrintQueue     (LPTDevice : BYTE; ConnectionID : BYTE; QueueID : OT_BinderyID) : WORD;
  81.  
  82.     FUNCTION    SetDefaultCaptureFlags   (CaptureFlags : Set_Capture_Flags) : WORD;
  83.  
  84.     FUNCTION    SetDefaultLocalPrinter   (LPTDevice : BYTE) : WORD;
  85.  
  86.     FUNCTION    SetSpecificCaptureFlags  (LPTDevice : BYTE; CaptureFlags : Set_Capture_Flags) : WORD;
  87.  
  88.     FUNCTION    SetSpoolFlags            (PrintFlags : BYTE; TabSize, PrinterNumber, NumberOfCopies, FormType : WORD;
  89.                                           BannerUserName : BannerUserNameType) : WORD;
  90.  
  91.     FUNCTION    SpecifyCaptureFile       (DriveHandle : BYTE; FilePath : PathNameType) : WORD;
  92.  
  93.     FUNCTION    StartLPTCapture : WORD;
  94.  
  95.     FUNCTION    StartSpecificLPTCapture  (LPTDevice : BYTE) : WORD;
  96.  
  97.     DESTRUCTOR  Done; VIRTUAL;
  98.  
  99.   END;
  100.  
  101.